package com.paic.custserv.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.paic.custserv.domain.CussWorkOrderDealflow;
import com.paic.custserv.domain.Page;

public interface CussWorkOrderDealflowMapper {
    int deleteByPrimaryKey(Integer idDealFlow);

    int insertSelective(CussWorkOrderDealflow record);

    CussWorkOrderDealflow selectByPrimaryKey(Integer idDealFlow);

    int updateByPrimaryKeySelective(CussWorkOrderDealflow record);

    List<CussWorkOrderDealflow> selectByIdWorkOrder(@Param("page")Page page,@Param("idWorkOrder")Integer idWorkOrder);
    
    CussWorkOrderDealflow selectLastedByIdWorkOrder(@Param("idWorkOrder")Integer idWorkOrder);    
    
}